<?php
header('Access-Control-Allow-Origin:*'); 
/**
 * 连接函数
 */
function Conn(){
    
    $conn = mysqli_connect("localhost","root","", "mybatis",'3306');
    mysqli_query($conn,'set names utf8');
    return $conn;
}